package com.lijianan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "User", autoResultMap = true)
public class User {
    @TableId(value = "user_id", type = IdType.AUTO)
    private Integer user_id;
    private String account;
    private String password;
    private String role;
    private String name;
    private String company_name;
    private String phone_number;
    private Boolean is_approved;
    private Boolean is_frozen;
    private Date created_at;
    private Date updated_at;
}
